package com.guanjia.entity;

/*
* 个人信息
* */

public class UserInformation {
    private Integer id;
    private Integer userId;
    private String name;        //姓名
    private Integer sex;        //性别
    private Integer age;        //年龄
    private String IDcard;      //身份证
    private String educational;     //学历
    private String school;      //毕业院校
    private String company;     //公司
    private String salary;      //工资
    private String nowaddress;      //籍贯
    private int loanlimit;       //贷款额度
    private int status;//身份验证

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }


    public int getLoanlimit() {
        return loanlimit;
    }

    public void setLoanlimit(int loanlimit) {
        this.loanlimit = loanlimit;
    }

    public UserInformation(Integer id, Integer userId, String name, Integer sex, Integer age, String IDcard, String educational, String school, String company, String salary, String nowaddress, int loanlimit, int status) {
        this.id = id;
        this.userId = userId;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.IDcard = IDcard;
        this.educational = educational;
        this.school = school;
        this.company = company;
        this.salary = salary;
        this.nowaddress = nowaddress;
        this.loanlimit = loanlimit;
        this.status = status;
    }

    public UserInformation() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getIDcard() {
        return IDcard;
    }

    public void setIDcard(String IDcard) {
        this.IDcard = IDcard;
    }

    public String getEducational() {
        return educational;
    }

    public void setEducational(String educational) {
        this.educational = educational;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public String getNowaddress() {
        return nowaddress;
    }

    public void setNowaddress(String nowaddress) {
        this.nowaddress = nowaddress;
    }

    @Override
    public String toString() {
        return "UserInformation{" +
                "id=" + id +
                ", userId=" + userId +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", age=" + age +
                ", IDcard='" + IDcard + '\'' +
                ", educational='" + educational + '\'' +
                ", school='" + school + '\'' +
                ", company='" + company + '\'' +
                ", salary='" + salary + '\'' +
                ", nowaddress='" + nowaddress + '\'' +
                ", loanlimit=" + loanlimit +
                ", status=" + status +
                '}';
    }
}
